package cn.stylefeng.guns.modular.cms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 技能知识
 * </p>
 *
 * @author yzb
 * @since 2022-05-17
 */
@TableName("cms_law")
public class Law implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 广告id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 法规类型
     */
    @TableField("category")
    private String category;

    /**
     * 标题
     */
    @TableField("name")
    private String name;

    /**
     * 图片地址
     */
    @TableField("pic")
    private String pic;

    /**
     * 摘要说明
     */
    @TableField("summary")
    private String summary;

    /**
     * 详情
     */
    @TableField("content")
    private String content;

    /**
     * 版本信息
     */
    @TableField("version")
    private String version;

    /**
     * 发文字号
     */
    @TableField("issue_number")
    private String issueNumber;

    /**
     * 发布机关
     */
    @TableField("issue_authority")
    private String issueAuthority;

    /**
     * 发布日期
     */
    @TableField("issue_date")
    private Date issueDate;

    /**
     * 实施日期
     */
    @TableField("impl_date")
    private Date implDate;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 排序
     */
    @TableField("sort")
    private Integer sort;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getIssueNumber() {
        return issueNumber;
    }

    public void setIssueNumber(String issueNumber) {
        this.issueNumber = issueNumber;
    }

    public String getIssueAuthority() {
        return issueAuthority;
    }

    public void setIssueAuthority(String issueAuthority) {
        this.issueAuthority = issueAuthority;
    }

    public Date getIssueDate() {
        return issueDate;
    }

    public void setIssueDate(Date issueDate) {
        this.issueDate = issueDate;
    }

    public Date getImplDate() {
        return implDate;
    }

    public void setImplDate(Date implDate) {
        this.implDate = implDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Law{" +
        "id=" + id +
        ", category=" + category +
        ", name=" + name +
        ", pic=" + pic +
        ", summary=" + summary +
        ", content=" + content +
        ", version=" + version +
        ", issueNumber=" + issueNumber +
        ", issueAuthority=" + issueAuthority +
        ", issueDate=" + issueDate +
        ", implDate=" + implDate +
        ", status=" + status +
        ", sort=" + sort +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        "}";
    }
}
